<div class="table-bg" style="background: #ef4954;height: 60px;width: 100%;display:flex;align-items: center;justify-content: flex-start;width: 96% !important;margin: 0 auto;border-radius:4px !important;padding-left: 16px !important;">

  <div *ngIf="userType" style="display: flex;margin-right: 20px;">
    <nz-select nzShowSearch nzAllowClear nzPlaceHolder="请选择省" style="min-width:120px;margin-right: 4px" [(ngModel)]="selectedProvince">
      <nz-option *ngFor="let p of provinceData" [nzValue]="p" [nzLabel]="p"></nz-option>
    </nz-select>
    <nz-select nzShowSearch nzAllowClear nzPlaceHolder="请选择市" style="min-width:120px;" [(ngModel)]="selectedCity" (ngModelChange)="citygetschool($event)">
      <nz-option *ngFor="let c of cityData[selectedProvince]" [nzValue]="c" [nzLabel]="c"></nz-option>
    </nz-select>
  </div>
  <div style="display: flex;">
    <nz-form-item *ngIf="userType" style="margin-bottom: 0;margin-right: 4px;min-width:120px;">
      <nz-form-control>
        <nz-select style="width: 100%" nzAllowClear [nzPlaceHolder]="'请选择学校名称'" [(ngModel)]="schoolName" (ngModelChange)="provinceChangesol($event)"
          (nzOnSearch)="searchChange($event)" [nzServerSearch]="true" [nzNotFoundContent]="'没有对应内容'" nzShowSearch>
          <nz-option *ngFor="let list of listEntitiesdata" [nzLabel]="list.schoolName" [nzValue]="list.id"></nz-option>
        </nz-select>
      </nz-form-control>
    </nz-form-item>
    <nz-form-item *ngIf="userType" style="margin-bottom: 0;margin-right: 4px;min-width:120px;">
      <nz-form-control>
        <nz-select style="width: 100%" nzShowSearch nzAllowClear nzPlaceHolder="请选择学院名称" [(ngModel)]="collegelName" (ngModelChange)="getmana($event)">
          <nz-option *ngFor="let list of resultxy" [nzLabel]="list.academeName" [nzValue]="list.id"></nz-option>
        </nz-select>
      </nz-form-control>
    </nz-form-item>
    <nz-form-item style="margin-bottom:0;min-width:120px;">
      <nz-form-control>
        <nz-select style="width: 100%" nzShowSearch nzAllowClear nzPlaceHolder="请选择系名称" [(ngModel)]="facultydata">
          <nz-option *ngFor="let list of resultxymana" [nzLabel]="list.collegeDepartmentName" [nzValue]="list.id"></nz-option>
        </nz-select>
      </nz-form-control>
    </nz-form-item>
  </div>
  <div style="margin-left: 20px">
    <input (keydown)="classsearchinput($event)" nz-input placeholder="名称" [(ngModel)]="addresname">
  </div>

  <div style="margin-left: 20px;">
    <button (click)="classsearch()" nz-button style="background: #fff;color:#aaa">搜索</button>
  </div>
  <div style="margin-left: 20px;">
    <button (click)="classcancle()" nz-button style="background: #fff;color:#aaa">取消</button>
  </div>
</div>